package com.cdtye.itps.cms.mapper.defect;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cdtye.itps.cms.dao.defect.entity.JcwDefectInfoPhoto;
import com.cdtye.itps.cms.dao.defect.vo.JcwDefectInfoPhotoVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface JcwDefectInfoPhotoMapper extends BaseMapper<JcwDefectInfoPhoto> {
    //根据缺陷信息idList查询管关联的图片
    List<JcwDefectInfoPhoto> getByDefectInfoIdList(@Param("vo") JcwDefectInfoPhotoVo vo);

    /**
     * 根据缺陷信息id查询管关联的图片
     */
    List<JcwDefectInfoPhoto> findByDefectInfoId(String defectInfoId);
}
